<%@ page contentType="text/html; charset=utf-8" language="java"  errorPage="" %>
<%@page import="com.netscenery.yang.model.Type"%>
<%@page import="offer.SessionObj"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Type type = new Type();
//获取结点对象
Object itemNode = request.getAttribute("itemNode");
if( null != itemNode){
	type = (Type)itemNode;
}
//Session ModuleStatus control
SessionObj sessionObj = (SessionObj)request.getSession().getAttribute("sessionObj");
String control_disabled = "";
if(!sessionObj.getModuleStatus().toString().equalsIgnoreCase("EDITING")){
 	control_disabled ="disabled='disabled'";
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>YangInteger</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/items.css" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/subItems.css" />
    <script type="text/javascript"  src="<%=basePath%>jstree-v.pre1.0/_lib/jquery.js"></script>
    <script type="text/javascript"  src="<%=basePath%>js/StrInteSupport.js"></script>
</head>
<body   class="body">
<form id="yangIntegerForm" method="post" action="<%=basePath %>YangIntegerOpreateServlet" class="IndexFormStyle" >
   <input type="hidden"  id="nodeId" name="nodeId" value="<%=request.getAttribute("nodeId") %>"  />
   <div id="TableContent" class="typeSubContent" >
      <div class="itemTitle">
          The Type  information 
      </div>
      &nbsp;Type name:&nbsp;<input class="inputText" id="_name" name="_name" value="<%=type.getName() %>" readonly="readonly" /><br/><br/>
      <div class="inContent" >
        <div id="rangeContent" class="itemContent" style="padding:10px;">
        	没有需要编辑的属性！！
        </div>
      </div>
      <!-- ************Range Length End******************************************************************************** -->
   </div>
   <div id="submitContent" class="submitContent">
     <span id="opNoticeSpan" style="color:red;" ></span>
     <span class="textSpan">&nbsp;</span>
     <input type="button" onclick="fromSubmit()" value="Apply" <%=control_disabled %>  />
   </div>
   </form>
 <script type="text/javascript">
	
	 function fromSubmit(){
	    parent.closeTypeEdit('subContainer');
	 }
 </script>
   
</body>
